package GameSerializes;

import java.util.HashMap;


public class TDImagePack {
	
	private HashMap<String,TDImage> data;

	public TDImagePack() {
		data = new HashMap<String,TDImage>();
	}
	
	public void addImage(String name, TDImage image) {
		data.put(name, image);
	}
	
	public TDImage getImage(String name) {
		return data.get(name);
	}
	
	public Integer getImageID(String name) {
		return data.get(name).getImageIndex();
	}

}
